package cn.itcast.com.relection.constructor;

public class demo01 {
    public static void main(String[] args) {
        test();
    }

    public static void test(){
        a(1);
        a(1,2);
        a(1,2,3);
    }

    public static void a(double b,int... a){
        System.out.println("hello");
        for (int i = 0; i < a.length; i++) {
            System.out.println(a[i]);
        }
    }
}
